package com.zjitc.service;

import com.zjitc.model.Product;

import java.util.List;

/**
 * Created by LWW on 2018/4/19.
 */
public interface ProductService {
    List<Product> findNewProduct();

    List<Product> findHotProduct();

  List<Product> findByCid(String cid, Integer pageNumber, Integer count);

  Product findProductInfo(String pid);

  List<Product> findAllProduct(Integer pageNum, Integer count);

  Product findByPid(String pid);

  void editProduct(Product product);

  void deleteProduct(String pid);

  void addProduct(Product product);

}
